package com.print;

import java.util.ArrayList;
import java.util.List;

import com.model.mt.BoxInfo;
import com.model.mt.DeliveryNotePrint;
import com.util.JackUtil;

public class Test {
	public static void main(String argv[]) {
/*		String boxID = "wfq";
		String customer_name = "wfq";
		String typeup = "type1";
		String typedown = "type2";
		String pnlCnt = "wfq";
		String shtCnt = "wfq";
		String totalCnt = "wfq";
		String date = "wfq";
		String productSpec = "wfq";
		String lotNo = "wfq";
		//String jsonAry="[\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\"]";
		String jsonAry="[\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\"]";
//
		String productCate = "wfq";
		String modelName="wfq";

		new LabelApplet().PrintXPNEW(boxID, customer_name, typeup, typedown,
				pnlCnt, shtCnt, totalCnt, date, productSpec, lotNo,
				productCate);
		*/
//		new LabelApplet().PrintXP(boxID, customer_name, modelName,
//				pnlCnt, shtCnt, totalCnt, date, productSpec, lotNo, jsonAry,
//				productCate);

		
//		
//		String printer= "wfq";        
//		String soId= "SDFFFSDFSFSDF";           
//		String cusId= "115";          
//		String compDate= "2015-02-02";       
//		String overDueDate= "2015-08-02";    
//		String mdl_id= "ASDDDDDDDDDDDADDDFDSDDDDDDG";         
//		String toThickness= "0.4";    
//		String cusInfoFst= "DDFDFSDFDSFDFD";     
//		String cusInfoSnd= "ASDFGHJK";     
//		String prdQty= "20";         
//		String NgQty= "0";          
//		String boxId= "0132016050301001";          
//		String prdGrade= "SC";       
//		String userId= "WG";
//		String title = "镀膜出货标签";
//
//		new LabelApplet4JX().PrintLabelForDM(printer,soId,        
//				cusId,       
//				compDate,    
//				overDueDate, 
//				mdl_id,      
//				toThickness, 
//				cusInfoFst,  
//				cusInfoSnd,  
//				prdQty,      
//				NgQty,       
//				boxId,       
//				prdGrade,    
//				userId,title);
//		//WG新原料标签
//		String customer_id= "wfq";
//		String mode_id= "12345678912345"; 
//		String date= "2014/12/9"; 
//		String prd_spec= "920*750*1.0mm";
//		String wo_id= "LJD706167";
//		String woCnt= "1";
//		String jsonCntAry= "[\"20\"]";	
//		String boxRule= "1";
//		String totalCnt= "2";
//		String jsonAry= "[\"wfq12345sfsdf\"]";
//		String layout_cnt= "2";
//		String mtrl_id= "wfq";
//		String habk_id= "wfq";
//		String cuswo = "";
//		new LabelApplet4JX().printyl(customer_id,mode_id,date,prd_spec,
//				wo_id,woCnt,jsonCntAry,boxRule,totalCnt,
//				jsonAry,layout_cnt,mtrl_id,habk_id,cuswo);
		//088
//		String printer="wfq";
//		String box_id="C8499G0955807WGE457499C000KV07";//"C1499J05041025WGE449499C0006P25";
//		String product_id="C1499J050"; 
//		String ppbox_id="E449499C0006P25";
//		String time="2014/10/14 18:40:00";
//		String user_id="wfq";
//		String cnt="25";
//		String thickness="0.25";
//		String t_thickness="0.25";
//		String c_thickness="0.25";
//		
//		new LabelApplet4JX().PrintFor088(printer,box_id,product_id,  ppbox_id,  time,
//                user_id, cnt,t_thickness,c_thickness);
		//oncell
//		String printer="wfq";
//		String box_id="WG476G2501";//"C1499J05041025WGE449499C0006P25";
//		String product_id="C1499J050"; 
//		String time="2014/10/14 18:40:00";
//		String user_id="wfq";
//		String cnt="25";
//		String thickness="0.25";
//		new LabelApplet4JX().PrintForoncell088(printer,box_id,product_id,    time,
//                user_id, cnt,  thickness);
		
		//008
//	
//		String mdlid="WG476G2501";//"C1499J05041025WGE449499C0006P25";
//		String boxid="G0B2AP002I"; 
//		String date="2014/10/14";
//		String cnt="40/2640";
//		String mtrl="TCSED71C-31";
//		String grade="A0";
//		new LabelApplet4JX().PrintFor008(mdlid,date,boxid, cnt,mtrl,grade);
//		String box_id="C123456yjhgjh";//"C1499J05041025WGE449499C0006P25";
//		String product_id="C1499J050";
//		//String ppbox_id="E449499C0006P25";
//		String time="2014/10/14 18:40:00";
//		String user_id="wfq";
//		String cnt="25";
//		String thickness="0.25";
//		new LabelApplet4JX().PrintForoncell088(box_id,product_id,time,user_id,cnt,thickness);
       //ok003
//		String cus_id="003";
//		String box_id="wfq123";
//		String cpt_type="CLAG055WB42 AXXQ";
//		String suffix="1234";
//		String cpt_no="6000118623";
//		String glass="EXG(0.38T)";
//		String item_no="123456789";
//		String cnt="1";
//		String date="2014/11/26";
//		String okcnt="42/50";
//		String inspector="1234567";
//		String remark="RoHS compliance";
//		String substrate="055WB42 EXG 0.38T SH";
//		String tcn_no="123456";
//		new LabelApplet4JX().PrintForOK003(cus_id, box_id, cpt_type, suffix,cpt_no,glass, item_no, cnt, date, okcnt,
//               inspector, remark, substrate, tcn_no);
		//003报废
//		String box_id="wfq123sdfsf";
//		String model="CLAG050WE31 XXA";
//		String lotid="6100017422";
//		String cnt="72";
//		String stat="";
//		String date="2014-12-13";
//		new LabelApplet4JX().PrintForNG003(box_id,model,lotid,cnt,stat,date);
		
		//System.out.println(stat.length());
		//028
//		String printer="wfq";
//		String cusid="028";
//		String woid="JKHJLKHLKJHK";
//		String mtrid="WC1466H040SD";
//        String lotid="S11412150040F001"; 
//        String checktime="2014/5/29";
//        String endtime="2014/11/28";
//        String soid="1814051568";
//        String proid="KJDKDJEKDLDJ";
//        String wxwoid="A10CW114050";
//        String cnt="25";
//        String user="王丰晴";
//        String content="dsfsdfdsfsdfddd";
//		new LabelApplet4JX().PrintFor028(printer,cusid, woid, mtrid,
//                lotid, checktime, endtime,
//                soid,proid,wxwoid,
//                cnt,user,content) ;
//		String mdlid="HSD040B8W2-C01";
//		String date="12/11/04";
//		String boxid="G0B2AP002I";
//		String cnt="40/2640";
//		String mtrl="TCSED71C-31";
//		String grade="AO";
//		new Labelminwg().printyl(mdlid,date,boxid,
//               cnt, mtrl, grade);
	
//		String boxID="WFQ";
//		String customer_name="WFQ";
//		String modelName="WFQ";
//		String pnlCnt="1";
//		String shtCnt="1";
//		String totalCnt="1";
//		String date="WFQ";
//		String productSpec="WFQ";
//		String user_id="WFQ";
//		String thickness="WFQ";
//		String lotNo="WFQ";
//		String jsonAry="[\"111111111111111111\"]";
//		String productCate="WFQ";
//		String mtrllot="WFQ";
//		new LabelApplet().PrintTM(boxID, customer_name,modelName, pnlCnt,shtCnt,totalCnt,date,
//			productSpec,user_id, thickness, lotNo, jsonAry,productCate,mtrllot);
		
//		String batch_id= "S11503170040F001";               
//       
//
//		new LabelAppletComm().PrintBacth( batch_id);
	/*	String name="XX科技";
		String boxID = "wfasdfq";
		String customer_name = "sadf";
		String typeup = "type1";
		String typedown = "type2";
		String pnlCnt = "20";
		String shtCnt = "10";
		String totalCnt = "200";
		String date = "2016-10-02";
		String productSpec = "sfsf";
		String lotNo = "sfsdf";
		//String jsonAry="[\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\"]";
		String jsonAry="[\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\"]";
		//String jsonAry = "[\"sfsdfsdf\",\"sdfsdf\"]";
		String productCate = "sdfsdf";
		String modelName="sdfdf";
	//	new LabelAppletComm().PrintJDF(  name,  boxID,  customer_name,  modelName,  pnlCnt,  shtCnt,  totalCnt,
		//	  date,  productSpec,  lotNo,  jsonAry,  productCate);
		String printer = "";
		String box_id = "wfasdfq";
		String soID="sdfsdfsdf";
		String strDate="2017-02-09";
		String prdCate = "prod";
		String woid="sfdsfdsdf";
		new LabelApplet().PrintXPforMT(printer,customer_name,modelName,strDate,productSpec,woid,shtCnt,totalCnt,lotNo,prdCate,box_id,jsonAry);
		//new LabelApplet().PrintJDF(boxID, customer_name,modelName, pnlCnt, shtCnt, totalCnt,
	//			 date, productSpec, lotNo, jsonAry, productCate);
		new LabelApplet().PrintXM(printer,box_id,customer_name,modelName,soID,shtCnt,totalCnt,strDate,productSpec,lotNo,jsonAry,prdCate);
*/
//		String customer_id="028";
//		String mode_id = "3";
//		String date = "2015/03/25";
//		String prd_spec = "asdfsf";
//		String wo_id = "safasf";
//		String woCnt = "2";
//		String jsonCntAry = "[\"111111111111111111\",\"111111111111111111\"]";
//		String boxRule = "3";
//		String totalCnt = "2";
//		String jsonAry = "[\"111111111111111111\",\"111111111111111111\"]";
//		String layout_cnt = "4";
//		new LabelAppletComm().PrintJX(  customer_id,  mode_id,  date,  prd_spec,
//				  wo_id,  woCnt,  jsonCntAry,  boxRule,  totalCnt,
//				  jsonAry,  layout_cnt);

		
//		//TWQC
//		String customer_name="长信科技" ;
//		String mdlcate = "ITO";
//		String strDate = "2015/03/25";
//		String mdl_typ = "5505";
//		String shtCnt = "20";
//		String model_name = "safasf";
//		String soid = "sdfasfdas";
//		String box_id="T1505001ABCDEFGHIJK";
//		String cus_cus_id = "sfsfsdffs";
//		String grade = "G";
//		String remark = "sdfds";
//		String cellCnt = "300";
//		new LabelApplet().PrintTWQC( customer_name, mdlcate, strDate, mdl_typ,
//				 model_name, shtCnt, box_id, soid, cus_cus_id,
//				 grade, remark);
//		new LabelApplet().PrintTWQCN( soid, cus_cus_id, model_name, box_id,
//				shtCnt, cellCnt);
//		String printer = "D";
//		String B1="wfq";
//		String customer_name="wfq";
//		String maker="wfq";s
//		String model="wfq";
//		String shtCnt="wfq";
//		String wocate="wfq";
//		String strDate="wfq";
//		String cellcnt="wfq";
//		String model_name="wfq";
//		String productSpec="wfq";
//		String lotNo="wfq";
//		String soid="wfq";
//		String toad="sdf";
//		String box_id="BJJDF56000008";
//		String prdCate="wfq";
//		String th="wfq";
//		String route="wfq";
//		String jsonAry= "[\"sdfsdfsdf\",\"sdfsdfsdf\",\"sdf\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\"]";
//	   new LabelApplet().PrintMT3( printer,B1, customer_name,  maker,  model,  shtCnt,  wocate,  strDate,  cellcnt,  model_name,  productSpec,  lotNo,
//				  soid,  box_id,  prdCate,  th,  route,  jsonAry,toad);
		
	//	new LabelApplet().PrintTEST("er");
//		
/*		String boxID = "TZH201507000001";
		String customer_name = "wfq";
		String modelName = "type1";
		String pnlCnt = "wfq";
		String shtCnt = "wfq";
		String totalCnt = "wfq";
		String date = "wfq";
		String productSpec = "wfq";
		String lotNo = "wfq";
		String productCate = "wfq";
		String invalidDate = "wfq";
		String mtrl_lot_id = "wfq";
		String jsonAry="[\"1\",\"2\",\"3\",\"4\","
				+ "\"5\",\"6\",\"7\",\"8\","
				+ "\"9\",\"10\",\"11\"]";
		new LabelApplet().PrintZH(boxID, customer_name, modelName, pnlCnt,shtCnt,totalCnt,
				date, productSpec, lotNo, jsonAry,productCate,
				 invalidDate, mtrl_lot_id); */
//		
//		String palletId="sdfsdfsdsdfdsfsd";
//		String mdlId="sdfdsfsdfdsfsdfsdfsdf";//"C1499J05041025WGE449499C0006P25";
//		String mtrId="ssdfsdfsdfsdfsdfsfsdf"; 
//		String shtCnt="1000";
//		String okCnt="1000/4545";
//		String substrate="wfqsfsdfasfdsadfdf";
//		String tcn="sdfsfsdf";
//		String actSo="sfsfsdfsdfsdfsdfsdf";
//		String outDate="2014/10/14";
//		String boxCnt="10";
//		
//		new LabelApplet4JX().PrintForPallet( palletId, mdlId,  mtrId,
//	            shtCnt, okCnt, substrate,
//	            tcn, actSo, outDate,boxCnt);
//		
//		String printer= "wfq";        
//		String cusInfoFst= "0062015122901004";           
//		String compDate= "2015-02-02";       
//		String overDueDate= "2015-08-02";    
//		String mdl_id= "ASDDDDDDDDDDD";         
//		String prdQty= "20";         
//
//		new LabelApplet4JX().PrintLabelForDM006(printer,cusInfoFst,compDate,overDueDate,mdl_id,prdQty); 
//        String printer="";
//        String boxId="WZH09820151230001002";
//        String productId1="sdfsdfsdfsdfdsf";
//        String productId2="sdfsdfsdf";
//        String prdQty="120";
//        String thickness="0.44mm";
//        String compDate="2015/15/6";
//        String dmUser="wfq";
//        String soId="sdfsdfsdf";
//        String prdStat="良品";
//        String prdType="量产品";
//        String overDueDate="2015/15/6";
//        String jsonAry= "[\"sdfsdfsdf\",\"sdfsdfsdf\",\"sdsdfsdf\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"sd\",\"\",\"\"]";
//        
//        new LabelApplet4JX().PrintLabelForDM098(printer,  boxId,  productId1,  productId2,
//				 prdQty, thickness, compDate, dmUser, soId, prdStat, prdType, overDueDate,jsonAry); 
		//栈板
//		String mtrlCate = "减薄+镀膜产品";
//		String mdlId = "sdfsfsdfsdf";
//		String totalCnt = "100";
//		String dnNo = "sdfsfsdfsdf";
//		String wywoId = "sdfsfsdfsdf";
//		String woId = "sdfsfsdfsdf";
//		String palletID = "sdfsfsdfsdf";
//		new LabelApplet4JX().PrintWhout(mtrlCate,  mdlId,  totalCnt, dnNo,
//				 wywoId,  woId, palletID);
		
//		//003
//		String printer = "sdfsdf";
//		String boxId = "3U00002";
//		String mdl_id = "mdlsdfsdfsfsdfsdf";
//		String mtrlId = "mtrlsdfsdfsdfsfd";
//		String toThickness = "(0.3T)";
//		String prdQty = "20";
//		String compDate = "2015-11-06";
//		String okCnt = "250/3600";
//		String Substrate = "salk;fjslkdfj;sdf";
//		String mtrlPart = "sdf";
//		String tcn="00320160303001001";
//		new LabelApplet4JX().PrintLabelForDM003( printer, boxId,mdl_id, mtrlId,
//				 toThickness, prdQty, compDate,  okCnt,  Substrate,mtrlPart,tcn);
		//007
//		String printer = "sdfsdf";
//		String mtrlId = "OKT300011115B11000A";
//		String mtrlBoxId = "OKT300011115B11000A";
//		String prdQty = "34";
//		String boxId = "OKT300011115B11000A";
//		String vender = "2017";
//
//		new LabelApplet4JX().PrintpalforHX( printer, mtrlId,mtrlBoxId, prdQty,boxId,vender);
		
		
		//007 pallet
//		String printer = "sdfsdf";
//		String mtrlId = "boxsdfsdfsfsdfsdfsdf";
//		String BoxQty = "2";
//		String totalQty = "34";
//		String palletId = "sfsdfsdfsdf";
//
//		new LabelApplet4JX().PrintLabelForWhot007( printer, mtrlId,BoxQty, totalQty,palletId);
		
//		String boxID="TDCWQ68000005";
//		String customer_name = "合肥鑫晟光电科技有限公司";
//		String modelName = "TV080WXL-N43-5GP0 Q1";
//		String pnlCnt = "";
//		String shtCnt = "50";
//		String totalCnt = "600";
//		String date = "2016-08-15";
//		String productSpec = "710.64*371.65*0.41";
//		String lotNo = "216080601A";
//		String productCate = "正常品";
//		String jsonAry="[\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]";
//
//		new LabelApplet().PrintHFXS(boxID,customer_name, modelName, pnlCnt, shtCnt,totalCnt,
//				 date, productSpec,lotNo, jsonAry, productCate);
//		
//		String boxID = "TZH201507000001";
//		String customer_name = "wfq";
//		String modelName = "C7498G140";
//		String pnlCnt = "wfq";
//		String shtCnt = "wfq";
//		String totalCnt = "wfq";
//		String date = "wfq";
//		String productSpec = "wfq";
//		String lotNo = "wfq";
//		String productCate = "wfq";
//		String invalidDate = "wfq";
//		String mtrl_lot_id = "wfq";
//		String tmmtrl = "TM050XYSP26-03";
//		String jsonAry="[\"1\",\"2\",\"3\",\"4\","
//				+ "\"5\",\"6\",\"7\",\"8\","
//				+ "\"9\",\"10\",\"11\"]";
//		new LabelApplet().PrintZHNEW(boxID, customer_name, modelName,tmmtrl, pnlCnt,shtCnt,totalCnt,
//				date, productSpec, lotNo, jsonAry,productCate,
//				 invalidDate, mtrl_lot_id); 
		//003 pallet
//		String printer = "sdfsdf";
//		String palletId = "boxsdfsdfsfsdfsdfsdf";
//		String mdlId = "sdfsdfsdfsdfsdfsd";
//		String mtrlId = "sdfsdfsdfdsfsdfsdf";
//		String totalCnt = "90";
//		String oktotalCnt = "1230/3000";
//		String substrate = "sfsdfsdfsdf";
//		String tcnNo = "";
//		String soId = "sfsdfsdfsdfsdfdsf";
//		String date = "2013-12-01";
//		String boxCnt = "30";
//		String type = "T";
//
//		new LabelApplet4JX().PrintLabelForWhot003( printer, palletId, mdlId,mtrlId,totalCnt,oktotalCnt,substrate,
//				tcnNo,soId,date,boxCnt,type);
	//	new LabelApplet4JX().PrintLabelForBox("W2015100101");
		//PrintHCToncell088
//		String printer = "wfq";
//		String boxId = "boxsdfsdfsfsdfsdfsdf";
//		String thickness = "3";
//		String time = "2016/4/12 20:23:47";
//		String qty = "90";
//		String userID = "HC00001";
//		String product = "sfsdfsdfsdssdff";
//		
//		new LabelApplet4JX().PrintHCToncell088( printer, boxId,  thickness,  time,
//	            qty,  userID,  product);
//	}
	//PrintHCT088
//	String printer = "wfq";
//	String soId = "boxsdfsdfsfs";
//	String overDate = "6月16日";
//	String outwoId = "";
//	String qty = "90 sheet";
//	String mdltyp = "720*560*0.4";
//	String cusId = "成都天马";
//	String pm = "LCD-TFT";
//	String boxId = "box1234sdf121222";
//	String blqty = "正常品";
//	String user = "wfq";
//	String date = "4月16日";
//	String mdlId = "C12154596632";
//	String woId = "J2DCDL-1607003";
//	String okyield = "";
//	String qauser = "wfq";
//	String bt = "镀膜产品出货标签";
//	
//	new LabelApplet4JX().PrintHCT088(printer,  soId,  overDate, outwoId,
//            qty, mdltyp, cusId, pm, boxId,
//             blqty,user,date, mdlId,woId,
//             okyield,qauser,bt);
		//PrintHCT058
//		String printer = "wfq";
//		//String ps = "这个标签的抬头要打印80个字，一共80个字啊，太多了吧 怎么会打印这么多个字呢，我就是想不明白了，这种标签真的是合理的吗？标签是什么东西，是简要的说明，具体信息";
//		String ps="解Hold原因：5.46三星量产产品做出货处理HOLD:5.46三星量产产品在生产过程中发现水渍Mura 条件：MLT Dep PH2产能Release 担当：孙雁飞 电话：7034  条件：D-Q F   列增加Dummy  Seal 担当：ODF  陈帅 电话：7542 条件：水渍mura高发 备注： 入库后hold PS：以上产品为5.5（三星） (TPCN)产品，以上产品经过Cutting Cleaner清洗，设备检测，使用珍珠棉垫片, 请资材同事区分入库管理!";
//		String mkr = "湖北鸿创";
//		String woId = "JB800090";
//		String wocate = "量产品";
//		String mtrlId = "BS055FHS-EB4-6Q01";
//		String qty = "11*54=594";
//		String jgyq = "减薄+抛光";
//		String date = "2016/4/12";
//		String outdate = "2016/4/14";
//		String boxId = "6C0635460-1019";
//		String thinkness = "0.35mm";
//		String dir = "BMDT京东方";
//		String user = "测试";
//		String note = "5.46MOTO量产产品";
//		new LabelApplet4JX().PrintHCT058( printer,  ps, mkr,woId,
//	           wocate, mtrlId,  qty, jgyq, date,
//	             outdate, boxId, thinkness, dir, user,
//	             note);
		//058list
//        String jsonAry= "[\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"6LE4630156A7B\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]";
//        String printer = "wfq";
//        String title = "这个标签的抬头要打印80个字，一共80个字啊，太多了吧 怎么会打印这么多个字呢，我就是想不明白了，这";
//        String boxId="sdfsdfsdf";
//		new LabelApplet4JX().PrintForHCT058ShtList( printer, title,jsonAry,boxId);
/*		String printer="";
		String cusId = "077";
		String boxId = "BOXTEST52354565";
		String thickness = "0.4T";
		String modeCnt = "600";
		String date = "2016-04-29";
		String actSo = "actSO545321";
		String mdlId = "C155463245sf5sdfsdf";
		String qty = "20";
		String blCnt = "12";
		String evtUser = "检验员";
		String note = "来料不良10粒，制程不良12粒";
		new LabelApplet4JX().PrintForCommonJB( printer, cusId,  boxId,  thickness,
	             modeCnt,  date,  actSo,mdlId,  qty,
	            blCnt, evtUser,  note );*/
		//009              
//      String jsonAry= "[\"3AWB630007A4AA\",\"6LE4630156A723\",\"6LE4630156A73\",\"6LE4630156A74\",\"6LE4630156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4630156A10\",\"6LE4630156A11\",\"6LE4630156A12\",\"6LE4630156A13\",\"6LE4630156A14\",\"6LE4630156A15\",\"6LE4630156A16\",\"6LE4630156A17\",\"6LE4630156A18\",\"6LE4630156A19\",\"6LE4630156A20\",\"6LE4630156A21\",\"6LE4630156A22\",\"6LE4630156A23\",\"6LE4630156A24\",\"6LE4630156A241\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"6LE4630156A21\",\"6LE4630156A22\"]";
//      String printer = "wfq";
//      String mdlId = "BV050HDL-N47-3900";
//      String date = "2016-4-30";
//      String boxId = "GDRWQ63000099";
//      String prd_qty = "40SH";
//		new LabelApplet4JX().PrintForDM009(printer, mdlId, date , boxId,  jsonAry, prd_qty);
//        String printer = "wfq";
//        String mdlId = "BV050HDL-N47-3900";
//        String qty = "550SH*6=3300EA";
//        String date = "2016/04/30";
//        String pallet = "20163GM000001";
//		new LabelApplet4JX().PrintForPallet009( printer, mdlId, qty , date,  pallet);
		//hct098
//		String printer = "wfq";
//		String gys = "HCT";
//		String boxId = "SDFSDFSDFSDF";
//		String cusName = "上海中航";
//		String mode = "sdfsdf";
//		String date = "2016-03-04";
//		String size = "sdfsdfsdf";
//		String indate = "2016-01-04";
//		String mtrllot = "sdfsdf";
//		String orderno = "sdfsdafdsf";
//		String mode2 = "sdfsdafdsf";
//		String cnt = "11";
//		String allcnt = "34";
//		String lotno = "sdfsdafdsf";
//		String procate = "实验";
//		String jsonAry= "[\"6LE4630156A71\",\"6LE4630156A72\",\"6LE4630156A73\",\"6LE4630156A74\",\"6LE4630156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4630156A10\",\"6LE4630156A71\",\"6LE4630156A72\",\"6LE4630156A73\",\"6LE4630156A74\",\"6LE4630156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4630156A20\"]";
//		
//		
//		new LabelApplet4JX().PrintForHc098(printer,   gys,   boxId,   cusName,
//	              mode,   date,   size,  indate,   mtrllot,
//	              orderno,  mode2,   cnt,   allcnt,   lotno,
//	              procate,   jsonAry);
		//yzbd
//		String cus_id="003";
//		String box_id="wfq123";
//		String cpt_type="CLAG055WB42 AXXQ";
//		String suffix="1234";
//		String cpt_no="6000118623";
//		String glass="EXG(0.38T)";
//		String item_no="123456789";
//		String cnt="1";
//		String date="2014/11/26";
//		String okcnt="42/50";
//		String inspector="1234567";
//		String remark="RoHS compliance";
//		String substrate="055WB42 EXG 0.38T SH";
//		String tcn_no="123456";
//		new LabelApplet().PrintYZBD(cus_id, box_id, cpt_type, suffix,cpt_no,glass, item_no, cnt, date, okcnt,
//               inspector, remark, substrate, tcn_no);
//		String printer = "wfq";
//		String client = "HCT";
//		String model = "SDFSDFSDFSDF";
//		String date = "2016-03-04";
//		String size = "sdfsdfsdf";
//		String box_id = "BDJL161121001";
//		String sht_cnt = "11";
//		String total_cnt = "34";
//		String order = "SDFSDFSDFSDF";
//		String productCate = "实验";
//		String jsonAry="[\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//		+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\"]";
//		new LabelApplet4DJ().PrintDJ1(printer, client, model, sht_cnt,total_cnt, date, productCate, size, order, box_id,jsonAry);
//		String printer = "wfq";
//		String boxId = "SDFSDFSDFSDF";
//		String jsonAry= "[\"sdE4630156A71\",\"6LE4630156A72\",\"6Ldsd30156A73\",\"6LE4630156A74\",\"6Ldsf30156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4sdf56A10\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]";
//		
//		
//		new LabelApplet4JX().PrintHCT0982(printer, boxId,  jsonAry);
		//PrintES
//		String printer = "wfq";
//		String ps = "这个标签的抬头要打印80个字，一共80个字啊，太多了吧 怎么会打印这么多个字呢，我就是想不明白了，这种标签真的是合理的吗？标签是什么东西，是简要的说明，具体信息";
//		//String ps="这个标签的抬头要打印80个字";
//		String mkr = "天津美泰";
//		String wocate = "量产品";
//		String mtrlId = "BS055FHS-EB4-6Q01";
//		String qty = "11*54=594";
//		String jgyq = "减薄+抛光";
//		String date = "2016/4/12";
//		String outdate = "2016/4/14";
//		String boxId = "6C0635460-1019";
//		String thinkness = "0.35mm";
//		String dir = "BMDT京东方";
//		String user = "测试";
//		String note = "5.46MOTO量产产品";
//		new LabelApplet().PrintES( printer,  ps, mkr,
//	           wocate, mtrlId,  qty, jgyq, date,
//	             outdate, boxId, thinkness, dir, user,
//	             note);
	       //CX-YZBD
//			String cus_id="003";
//			String box_id="wfq123";
//			String cpt_type="CLAG055WB42 AXXQ";
//			String suffix="1234";
//			String cpt_no="6000118623";
//			String glass1="EXG";
//			String glass2="0.38T";
//			String item_no="123456789";
//			String cnt="1";
//			String date="2014/11/26";
//			String okcnt="42/50";
//			String inspector="1234567";
//			String remark="RoHS compliance";
//			String substrate="055WB42 EXG 0.38T SH";
//			String tcn_no="123456";
//			String pjlx="F";
//			new LabelApplet().PrintYZBDBox(cus_id, box_id, cpt_type, suffix,cpt_no,glass1,glass2, item_no, cnt, date, okcnt,
//	               inspector, remark, substrate, tcn_no,pjlx);
//		String cus_id="003";
//		String box_id="wfq123";
//		String cpt_type="CLAG055WB42 AXXQ";
//		String suffix="1234";
//		String cpt_no="6000118623";
//		String po="EXG";
//		String pCnt="0.38T";
//		String item_no="123456789";
//		String cnt="1";
//		String date="2014/11/26";
//		String okcnt="42/50";
//		String inspector="1234567";
//		String remark="RoHS compliance";
//		String substrate="055WB42 EXG 0.38T SH";
//		String tcn_no="123456";
//		String pjlx="F";
//		for(int i=0;i<5;i++){
//		new LabelApplet().PrintYZBDPallet(cus_id, box_id, cpt_type, suffix,cpt_no,po,pCnt, item_no, cnt, date, okcnt,
//               inspector, remark, substrate, tcn_no,pjlx);
//		}
//		String printer= "wfq";        
//		String soId= "SDFFFSDFSFSDF";           
//		String cusId= "115";          
//		String compDate= "2015-02-02";       
//		String mdl_id= "ASDDDDDDDDDDDADDDFDSDDDDDDG";         
//		String toThickness= "0.4";    
//		String cusInfoFst= "DDFDFSDFDSFDFD";     
//		String cusInfoSnd= "ASDFGHJK";     
//		String prdQty= "20";         
//		String NgQty= "0";          
//		String boxId= "0132016050301001";          
//		String prdGrade= "SC";       
//		String userId= "WG";
//		String title = "镀膜出货标签";
//		String woId = "sdfsdfsdf";
//
//		new LabelApplet4JX().PrintHCT068(printer,soId,        
//				cusId,       
//				compDate,    
//				title, 
//				mdl_id,      
//				toThickness, 
//				cusInfoFst,  
//				cusInfoSnd,  
//				prdQty,      
//				NgQty,       
//				boxId,       
//				prdGrade,    
//				userId,
//				woId);
	//	new LabelApplet4JX().PrintWhotHct("" ,"减薄+镀膜", "C145sdfDDFsdfsd", "SOsdfsdfc1552","1800");
		/*String printer= "wfq";        
		String boxId= "SDFFFSDFSFSDF";           
		String cusId= "115";          
		String mdlId= "sdfsdfsdf2";       
		String mtrlId= "ASDDDDDDDDDDDADDD";         
		String qty= "4";    
		String lyDate= "2015-02-02";     
		String note= "ASDFGHJK";     
		String soId= "20sdfsdf";         
		String wywoId= "0sdfsdf";          
		String lotId= "0132016050301001";          
		String usrId= "SC";       
		String jyDate= "2015-02-02";
		new LabelApplet4FX().PrintFor016(printer, boxId, cusId, mdlId, mtrlId, qty, lyDate, note, soId, wywoId, lotId, usrId,jyDate);
		new LabelApplet4JX().PrintBacth("JKSDFSDFSDF");
		new LabelApplet4JX().PrintLabelForBox("JKSDFSDFSDF");
		new LabelApplet4JX().PrintTEST("C145sdf");*/
//		new LabelApplet().printPrdID("" ,"{\"stdQty\":\"1\",\"box_id\":\"C12FDF242420160923001\",\"prdAry\":[\"WPRD6\"]}");
		
		/*List<BoxInfo> boxList = new ArrayList<BoxInfo>();
		BoxPrint boxPrint = new BoxPrint();
		boxPrint.setCus_id("二狗子");
		boxPrint.setCus_add("陕西省");
		boxPrint.setPrt_timestamp(JackUtil.getCurDate());
		for(int i =0;i < 5; i ++){
			BoxInfo boxInfo = new BoxInfo();
			boxInfo.setModel(i+"");
			boxInfo.setMtrl_id(i+"");
			boxInfo.setPnl_cnt(i+"");
			boxInfo.setSht_cnt(i+"");
			boxInfo.setSpec(i+"");
			boxInfo.setProc("镀膜");
			boxInfo.setRemark1("测试"+i);
			boxInfo.setRemark2("测试"+i);
			boxList.add(boxInfo);
		}
		boxPrint.setIary(boxList);*/
//		List<BoxInfo> boxList = new ArrayList<BoxInfo>();
//		DeliveryNotePrint printInfo = new DeliveryNotePrint();
//		printInfo.setPallet_cnt("3");
//		printInfo.setNote_no("1234567");
//		printInfo.setCustomer_id("J-ES");
//		printInfo.setCustomer_add("陕西省");
//		printInfo.setOemdn("sfdsdfsdfsdfsdf");
//		printInfo.setDir("sdfsdf");
//		printInfo.setLk("OEMOCN");
//		printInfo.setKh("CX");
//		for(int i =0;i < 5; i ++){
//			BoxInfo boxInfo = new BoxInfo();
//			boxInfo.setBox_cnt(i+"");
//			boxInfo.setPrd_qty(i+"");
//			boxInfo.setGrain_cnt(i+"");
//			boxInfo.setMdl_id(i+"");
//			boxInfo.setMdl_dsc(i+"规格");
//			boxInfo.setMdl_typ("i"+"type");
//			boxInfo.setMtrl_id(i+"物料");
//			boxInfo.setMtrl_desc("BS052FHL-N30-6Q03（55切）（0.3）【B6-5.2（55切）DP021】 PS：以上产品为5.2（DP021）产品，以上产品经过Cutting Cleaner清洗，设备检测，使用珍珠棉垫片，请资材同事区分入库管理！");
//			boxInfo.setMtrl_remark("减薄(1.0t→0.325t~0.375t)+CF面抛光+Aging150℃、30min（常压)");
//			boxInfo.setProc_name("薄化镀膜");
//			boxInfo.setRemark1("减薄镀膜品，A品");
//			boxInfo.setRemark2("店小二 s123-S2234 TPCN品");
//			boxList.add(boxInfo);	
//		}
//		printInfo.setIary(boxList);
//		try {
//			//new LabelApplet().printDeliveryNoteForMT1("1",JackUtil.toJsonString(printInfo));
//			new LabelApplet().printDeliveryNoteForMT2("1",JackUtil.toJsonString(printInfo));
//		} catch (Exception e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		String boxID = "wfq";
//		String customerName = "wfq";
//		String typeup = "type1";
//		String typedown = "type2";
//		String pnlCnt = "wfq";
//		String shtCnt = "wfq";
//		String totalCnt = "wfq";
//		String date = "wfq";
//		String productSpec = "wfq";
//		String lotNo = "wfq";
//		String woId = "NHFJD161005OPPOQ2P2";
//		String jsonAry="[\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\",\"111111111111111111\"]";
//		//String jsonAry="[\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\"]";
//
//		String productCate = "wfq";
//		String modelName="wfq";
//
//		new LabelApplet().PrintJDF4jb( boxID,  modelName,  pnlCnt,  shtCnt,
//				  totalCnt,  date,  jsonAry,  customerName,
// lotNo,  productSpec,  productCate,  woId);
		
		
//		String pallet_id="TDCWQ68000005";
//		String customer_name = "合肥鑫晟光电科技有限公司";
//		String model_name = "TV080WXL-N43-5GP0 Q1";
//		String pnl_qty = "50";
//		String totalCnt = "600";
//		String date = "2016-08-15";
//		String jsonAry="[\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				//+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				//+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				//+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				//+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				//+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\","
//				+ "\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\",\"5AEA670060B2AE\"]";
//
//		new LabelApplet().PrintPltHFXS(pallet_id,customer_name, model_name, date, pnl_qty,totalCnt,jsonAry);
		
		//Print018
//		String printer = "wfq";
//		String ps = "这个标签的抬头要打印80个字，一共80个字啊，太多了吧 怎么会打印这么多个字呢，我就是想不明白了，这种标签真的是合理的吗？标签是什么东西，是简要的说明，具体信息";
//		//String ps="条件：5.5 VIVO出货JSR导入TPCN Array NP   担当：孙超超 PS：以上产品为5.46RIO&K5 TPCN产品，经过Slim清洗，使用珍珠棉垫片，请资材同事区分入库管理!";
//		String mkr = "沃格";
//		String wocate = "量产品";
//		String mtrlId = "BS055FHS-EB4-6Q01";
//		String qty = "11*54=594";
//		String jgyq = "减薄+抛光+镀膜";
//		String date = "2016/4/14";
//		String outdate = "2016/4/14";
//		String boxId = "6C0635460-1019df";
//		String thinkness = "0.35mm";
//		String dir = "BMDT京东方";
//		String user = "测试";
//		String note = "5.46MOTO量产产品";
//		new LabelApplet4JX().Print018( printer,  ps, mkr,
//	           wocate, mtrlId,  qty, jgyq, date,
//	             outdate, boxId, thinkness, dir, user,
//	             note);
		
		//018list
  //     String jsonAry= "[\"6LE4630156A71\",\"6LE4630156A72\",\"6LE4630156A73\",\"6LE4630156A74\",\"6LE4630156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4630156A7A\",\"6LE4630156A7B\",\"6LE4630156A7C\",\"6LE4630156A7D\",\"6LE4630156A7E\",\"6LE4630156A7F\",\"6LE4630156A7G\",\"6LE4630156A7H\",\"6LE4630156A7I\",\"6LE4630156A7J\",\"6LE4630156A7K\"]";
//       String printer = "wfq";
//        String title = "sdfsdfsdfsdfsdfsdf";
  //      String boxId="sfaadfaasfasfassf";
	//	new LabelApplet4JX().PrintFor018ShtList( printer, title,jsonAry,boxId);
		
		
//		String printer = "wfq";
//		String model1 = "BFKJFDKFE-D955";
//		String qty = "56SH*62=455EA";
//		String yield = "56%";
//		String date = "2016-03-04";
//		String de = "D";
//		String palletID = "BDJL161121001";
//		String qa = "(QA)";
//		String mtrlID = "";
//		String model2 = "";
//		new LabelApplet4DJ(). PrintDJPallet( printer, model1, qty,  yield, date,  de, palletID, qa, mtrlID,model2);
//		String printer = "wfq";
//		String cus = "天津美泰";
//		String size = "4.98王冰S41-820试验品";
//		String mdl = "BV050SQL-N40-1Q00";
//		String qty = "360cut";
//		String date = "2016-12-1";
//		String note = "试验品360cut";
//		String pallet = "201611WM000003";
//		new LabelApplet().PrintmtPallet(printer,cus,  size, mdl, qty,date, note, pallet);
		//Print211
//		String printer = "wfq";
//		String cnBox = "sdfsdfsdfsd";
//		String mkr = "沃格";
//		String wocate = "量产品";
//		String mtrlId = "BS055FHS-EB4-6Q01";
//		String qty = "11*54=594";
//		String jgyq = "减薄+抛光+镀膜";
//		String date = "2016/4/14";
//		String outdate = "2016/4/14";
//		String boxId = "6C0635460-1019df";
//		String thinkness = "0.35mm";
//		String dir = "BMDT京东方";
//		String user = "测试";
//		String note = "5.46MOTO量产产品";
//		new LabelApplet4JX().Print211( printer,  cnBox, mkr,
//	           wocate, mtrlId,  qty, jgyq, date,
//	             outdate, boxId, thinkness, dir, user,
//	             note);
		
//		String printer = "wfq";
//		String gys = "HCT";
//		String boxId = "SDFSDFSDFSDF";
//		String cusName = "上海中航";
//		String mode = "sdfsdf";
//		String date = "2016-03-04";
//		String size = "sdfsdfsdf";
//		String indate = "2016-01-04";
//		String mtrllot = "sdfsdf";
//		String orderno = "sdfsdafdsf";
//		String mode2 = "sdfsdafdsf";
//		String cnt = "11";
//		String allcnt = "34";
//		String lotno = "sdfsdafdsf";
//		String procate = "实验";
//		
//		new LabelApplet4JX().PrintHCT0981(printer,   gys,   boxId,   cussName,
//	              mode,   date,   size,  indate,   mtrllot,
//	              orderno,  mode2,   cnt,   allcnt,   lotno,
//	              procate);
//		String printer = "wfq";
//		String boxId = "SDFSDFSDFSDF";
//		String jsonAry= "[\"sdE4630156A71\",\"6LE4630156A72\",\"6Ldsd30156A73\",\"6LE4630156A74\",\"6Ldsf30156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4sdf56A10\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"]";
//		
//		
//		new LabelApplet4JX().PrintHCTshtList(printer, boxId,  jsonAry);
//		String printer = "";
//		String str = "BF045WVL-407-1QP0C00002";
////		new LabelApplet4JX().PrintQR( printer, str);
////		new LabelApplet4JX().PrintQRhc( printer);
//		new LabelApplet().PrintQRPic(printer,str);
//		new LabelApplet().PrintQRMT2( printer);
		//new LabelApplet4JX().PrintQRcode( printer);
     // String jsonAry= "[\"6LE4630156A71\",\"6LE4630156A72\",\"6LE4630156A73\",\"6LE4630156A74\",\"6LE4630156A75\",\"6LE4630156A76\",\"6LE4630156A77\",\"6LE4630156A78\",\"6LE4630156A79\",\"6LE4630156A7A\",\"6LE4630156A7B\",\"6LE4630156A7C\",\"6LE4630156A7D\",\"6LE4630156A7E\",\"6LE4630156A7F\",\"6LE4630156A7G\",\"6LE4630156A7H\",\"6LE4630156A7I\",\"6LE4630156A7J\",\"6LE4630156A7K\"]";
     //  String title = "sdfsdfsdfsdfsdfsdf";
	//	new LabelApplet4JX().PrintFor018ShtList( printer, title,jsonAry,boxId);
		//new LabelApplet().PrintJDFQR(str);
		//new LabelApplet4DJ().PrintQRdj("dsd");
//
//		String printer="";
//		String jzID="UIOE";
//		String date="3/11";
//		String pn="FLQ26308-LPAC";
//		String lotNo="1CK-7306-0089";
//		String shtcnt="20";
//		String cellcnt="1000";
//		String upn="ALX1097l1BB1S009";
//		String upnDown="(0XY077890-CT239)";
//		String pallet1="1CK 7306 T26 M";
//		String pallet2="1CK 7306 T27 M";
//		String pallet3="1CK 7306 T28 M";
//		String pallet4="1CK 7306 T29 M";
//		String pallet5="1CK 7306 T30 M";
//		String pallet6="1CK 7306 T31 M";
//		String dir="sdfsdf";
//		new LabelApplet().printXPpalletforCX(printer,  jzID,  date,
//				pn, lotNo,  shtcnt,  cellcnt, upn,
//				 upnDown, pallet1, pallet2, pallet3,
//				pallet4, pallet5, pallet6,dir);
	//	System.out.println("dsf");
//
//		String printer="";
//		String type1 = "sfsfsfsdf";
//		String type2 = "sdfsdfsdf";
//		String cellcnt = "123";
//		String shtcnt = "34";
//		String date = "34/34";
//		String boxid = "1CXsdfjsdfjsdf";
//		String jsonAry="[\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-2\",\"1NP-E1ST20041-41-3\",\"1NP-E1ST20041-41-4\",\"1NP-E1ST20041-41-5\",\"1NP-E1ST20041-41-6\",\"1NP-E1ST20041-41-7\",\"1NP-E1ST20041-41-8\",\"1NP-E1ST20041-41-9\",\"1NP-E1ST20041-41-10\",\"1NP-E1ST20041-41-11\",\"1NP-E1ST20041-41-12\",\"1NP-E1ST20041-41-13\",\"1NP-E1ST20041-41-14\",\"1NP-E1ST20041-41-15\",\"1NP-E1ST20041-41-16\",\"1NP-E1ST20041-41-17\",\"1NP-E1ST20041-41-18\",\"1NP-E1ST20041-41-19\",\"1NP-E1ST20041-41-20\",\"1NP-E1ST20041-41-21\",\"1NP-E1ST20041-41-22\",\"1NP-E1ST20041-41-23\",\"1NP-E1ST20041-41-24\",\"1NP-E1ST20041-41-25\",\"1NP-E1ST20041-41-26\",\"1NP-E1ST20041-41-27\",\"1NP-E1ST20041-41-28\",\"1NP-E1ST20041-41-29\",\"1NP-E1ST20041-41-30\",\"1NP-E1ST20041-41-31\",\"1NP-E1ST20041-41-32\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\",\"1NP-E1ST20041-41-1\"]";
//		new LabelApplet().printXPforCX(printer,type1, type2 ,cellcnt,  shtcnt,  date, boxid,jsonAry);
//	    String printer = "";
//		String jzID="UIOE";
//		String date="3/11";
//		String pn="FLQ26308-LPAC";
//		String lotNo="1CK-7306-0089";
//		String shtcnt="20";
//		String cellcnt="1000";
//		String upn="ALX1097l1BB1S009";
//		String upnDown="(0XY077890-CT239)";
//		String pallet1="1CK 7386 T26 M";
//		String pallet2="1CK 7306 T27 M";
//		String pallet3="1CK 7306 T28 M";
//		String pallet4="1CK 7306 T29 M";
//		String pallet5="1CK 7306 T30 M";
//		String pallet6="1CK 7306 T31 M";
//		String dir = "123";
//		new LabelApplet().printXPpalletforCX(printer,  jzID,  date,
//				pn, lotNo,  shtcnt,  cellcnt, upn,
//				 upnDown, pallet1, pallet2, pallet3,
//				pallet4, pallet5, pallet6,dir);
		//String no = "1";
		//String jsonAry="[\"AAAAAAAAAAA1\",\"AAAAAAAAAA2\",\"AAAAAAAAAAA3\",\"AAAAAAAAAA4\",\"AAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAA\",\"AAAAAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAAAA\",\"AAAAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAAA\",\"AAAAAAAAAAA\",\"AAAAAAAAAAAA\"]";
		//new LabelApplet().printXPshtforCX( printer, no,  jsonAry);
//		String printer= "wfq";        
//		String compDate= "2015-02-02";       
//		String mtrlId= "C2593B010";         
//		String cusInfoFst= "I13CW21709117";     
//		String cusInfoSnd= "I13CP21709187";     
//		String prdQty= "20";         
//		String boxId= "0132016050301001";          
//		String userId= "HC0103";
//		String woId = "J2DXML-1710035K";
//		String cusName = "鸿创科技有限公司";
//		String prodName = "1/4一次切割中片";
//		String dueDate= "2015-02-02"; 
//		String reportFLg = "YES";
//		String hightFlg = "";
//
//		new LabelApplet4JX().PrintHCT068N(printer, cusName, prodName,
//				mtrlId, woId, compDate, dueDate, boxId, cusInfoFst,
//				cusInfoSnd, prdQty, reportFLg, hightFlg, userId);
		
//		String cusName="客户TPK";
//		String modelName = "modelXXXXXXXX";
//		String shtCnt = "12";
//		String lotNo = "LOTXXXXXXXXX";
//		String poNo = "POXXXXXXXXX";
//		String prodCate = "XXX";
//		String date = "2016-10-02";
//		String toDate = "2016-11-02";
//		String wd = "20+5C";
//		String sd = "30%~60%";
//		String boxID = "BOXIDXXXXXXXXX";
//		String jsonAry="[\"AAAAAAAAAAAAAAAA01\",\"AAAAAAAAAAAAAAAA02\",\"AAAAAAAAAAAAAAAA03\",\"AAAAAAAAAAAAAAAA04\",\"AAAAAAAAAAAAAAAA05\",\"AAAAAAAAAAAAAAAA06\",\"AAAAAAAAAAAAAAAA07\",\"AAAAAAAAAAAAAAAA08\",\"AAAAAAAAAAAAAAAA09\",\"AAAAAAAAAAAAAAAA10\",\"AAAAAAAAAAAAAAAA11\",\"AAAAAAAAAAAAAAAA12\",\"AAAAAAAAAAAAAAAA13\",\"AAAAAAAAAAAAAAAA14\",\"AAAAAAAAAAAAAAAA15\",\"AAAAAAAAAAAAAAAA16\",\"AAAAAAAAAAAAAAAA17\",\"AAAAAAAAAAAAAAAA18\",\"AAAAAAAAAAAAAAAA19\",\"AAAAAAAAAAAAAAAA20\"]";
//		new LabelApplet().PrintTPK(cusName,  modelName, shtCnt, lotNo,
//				 poNo, prodCate,  date,  toDate,  wd,
//				 sd,  boxID, jsonAry);
		String cusName="客户TPK";
		String modelName = "modelXXXXXXXX";
		String pnlCnt = "12";
		String ttlCnt = "100";
		String lotNo = "LOTXXXXXXXXX";
		String poNo = "POXXXXXXXXX";
		String date = "2016-10-02";
		String toDate = "2016-11-02";
		String wd = "20+5C";
		String sd = "30%~60%";
		String palletId = "palletIDXXXXXXXXX";
		new LabelApplet().PrintPltTPK(cusName, modelName,  lotNo,  poNo,
				pnlCnt,   ttlCnt, date,  toDate, wd,
				 sd, palletId);
	}
}
